﻿using System;
using System.Linq;
using System.Text;
using Magicodes.ExporterAndImporter.Core;
using Magicodes.ExporterAndImporter.Excel;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json;
using SqlSugar;

namespace Aioms.Dtos
{
    ///<summary>
    /// 设备故障统计详情
    ///</summary>
    [ExcelExporter(Name = "设备故障统计详情")]
    public class DeviceTroubleTongJiXiangQingDto
    {
        public DeviceTroubleTongJiXiangQingDto()
        {
        }

        /// <summary>
        /// 设备名称
        /// </summary>     
        [ExporterHeader(DisplayName = "设备名称")]
        public string Name { get; set; }

        /// <summary>
        /// 设备编号
        /// </summary>     
        [ExporterHeader(DisplayName = "设备编号")]
        public string Number { get; set; }

        /// <summary>
        /// 规格型号
        /// </summary>     
        [ExporterHeader(DisplayName = "规格型号")]
        public string Specification { get; set; }

        /// <summary>
        /// 故障部位
        /// </summary>     
        [ExporterHeader(DisplayName = "故障部位")]
        public string Position { get; set; }

        /// <summary>
        /// 故障等级
        /// </summary>     
        [ExporterHeader(DisplayName = "故障等级")]
        public string Level { get; set; }

        /// <summary>
        /// 是否停机
        /// </summary>     
        [ExporterHeader(DisplayName = "是否停机")]
        public string IsHalt { get; set; }

        /// <summary>
        /// Desc:故障描述
        /// </summary>     
        [ExporterHeader(DisplayName = "故障描述")]
        public string Description { get; set; }

        /// <summary>
        /// Desc:故障时间
        /// </summary>     
        [ExporterHeader(DisplayName = "故障时间", Format = "yyyy-mm-DD HH:mm:ss")]
        public DateTime TroubleTime { get; set; }

        /// <summary>
        /// Desc:报修人
        /// </summary>     
        [ExporterHeader(DisplayName = "报修人")]
        public string Baoxiuren { get; set; }

        /// <summary>
        /// Desc:设备状态
        /// </summary>     
        [ExporterHeader(DisplayName = "设备状态")]
        public string Status { get; set; }

    }
}
